<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #id{
            border: 1px black solid;
            height: 40px;
            width: 958px;
        }
        .class1{
            padding-right: 20px;
            padding-left: 20px;
            font-size: 14px;
            font-family: "雅黑";
            color: #333;
            border-right: 1px solid;
            
        }
        span{
            padding-right: 20px;
            padding-left: 20px;
            font-size: 14px;
            font-family: "雅黑";
            color: #333;
            line-height: 40px;
        }
        .class2{
            margin-left: 150px;
            border-right: 1px solid;
        }
    </style>
</head>
<body>
    <div id="id">
        <span class="class2">首页</span>
        <span class="class1">网站建设</span>
        <span class="class1">程序开发</span>
        <span class="class1">网络营销</span>
        <span class="class1">企业VI</span>
        <span class="class1">案例演示</span>
        <span>联系我们</span>
    </div>
</body>
</html>